<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <div v-text='msg'>
            lalallaalal
           
        </div>
        {{richText}}
        <div v-text="richText"></div>
        <div v-html="richText"></div>
        <div>{{(num1 + num2) >10 ? '大于10':'小于10'}}</div>
        <div v-text="num1 + num2"></div>
    </div>
    <script>
        const vm =new Vue({
            el:'#app',
            data:{
                msg:"天亮教育",
                richText:`<h2>啦啦啦啦</h2>`,
                num1:3,
                num2:7
            }
        })
    </script>
</body>
</html>